home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clargv.z / clargv
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAARRRRGGGGVVVV((((3333SSSS))))                                                          CCCCLLLLAAAARRRRGGGGVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLARGV - generate a vector of complex plane rotations with real cosines,
  10.      determined by elements of the complex vectors x and y
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CLARGV( N, X, INCX, Y, INCY, C, INCC )
  14.  
  15.          INTEGER        INCC, INCX, INCY, N
  16.  
  17.          REAL           C( * )
  18.  
  19.          COMPLEX        X( * ), Y( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CLARGV generates a vector of complex plane rotations with real cosines,
  36.      determined by elements of the complex vectors x and y. For i = 1,2,...,n
  37.  
  38.         (        c(i)   s(i) ) ( x(i) ) = ( r(i) )
  39.         ( -conjg(s(i))  c(i) ) ( y(i) ) = (   0  )
  40.  
  41.         where c(i)**2 + ABS(s(i))**2 = 1
  42.  
  43.      The following conventions are used (these are the same as in CLARTG, but
  44.      differ from the BLAS1 routine CROTG):
  45.         If y(i)=0, then c(i)=1 and s(i)=0.
  46.         If x(i)=0, then c(i)=0 and s(i) is chosen so that r(i) is real.
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      N       (input) INTEGER
  51.              The number of plane rotations to be generated.
  52.  
  53.      X       (input/output) COMPLEX array, dimension (1+(N-1)*INCX)
  54.              On entry, the vector x.  On exit, x(i) is overwritten by r(i),
  55.              for i = 1,...,n.
  56.  
  57.      INCX    (input) INTEGER
  58.              The increment between elements of X. INCX > 0.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAARRRRGGGGVVVV((((3333SSSS))))                                                          CCCCLLLLAAAARRRRGGGGVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      Y       (input/output) COMPLEX array, dimension (1+(N-1)*INCY)
  75.              On entry, the vector y.  On exit, the sines of the plane
  76.              rotations.
  77.  
  78.      INCY    (input) INTEGER
  79.              The increment between elements of Y. INCY > 0.
  80.  
  81.      C       (output) REAL array, dimension (1+(N-1)*INCC)
  82.              The cosines of the plane rotations.
  83.  
  84.      INCC    (input) INTEGER
  85.              The increment between elements of C. INCC > 0.
  86.  
  87. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  88.      6-6-96 - Modified with a new algorithm by W. Kahan and J. Demmel
  89.  
  90.  
  91. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  92.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  93.  
  94.      This man page is available only online.
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.